Function CHECK_OPTIONS_WHITE_LIST

Package

utils

Short description

Check that all fields of a struct are valid

Usage

   CHECK_OPTIONS_WHITE_LIST(options, white_list)

Input

   options (struct): a structure with optional fields
   white_list (cell of string): containing the valid fields
 Ouput
   none   

Output

Description

   Will crash with an error if the input options contains invalid fields

See also

List of all packages